<%@page contentType="text/html;charset=utf-8"%>
<%@include file="../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>用户注册 - 当当网</title>
		<link href="<%=request.getContextPath()%>/css/login.css"
			rel="stylesheet" type="text/css" />
		<link href="<%=request.getContextPath()%>/css/page_bottom.css"
			rel="stylesheet" type="text/css" />

		<%@include file="../common/css.jsp"%>
	</head>
	<body>
		<%@include file="../common/head1.jsp"%>
		<div class="login_step">
			生成订单步骤:
			1.填写送货地址 <b>&gt;</b><span class="red_bold">2.确认信息 </span><b>&gt;</b>3.订单生成成功
		</div>
		<div class="fill_message">
			<h2 id="cart_tips">
				订单信息:
			</h2>

			<table class="tab_login">
				<tr class="tabl_buy_title">
					<td>
						<span class="span_w1">商品名</span>
					</td>
					<td class="buy_td_5">
						<span class="span_w2">市场价</span>
					</td>
					<td class="buy_td_4">
						<span class="span_w3">当当价</span>
					</td>
					<td class="buy_td_1">
						<span class="span_w2">数量</span>
					</td>
				</tr>
				
				<c:forEach items="${session_cart.effectiveCartItems}" var="it">
					<tr class='td_no_bord'>
						<td>
							<a href="#">${it.product.name}</a>
						</td>
						<td class="buy_td_5">
							<span class="c_gray">￥${it.product.fixedPrice}</span>
						</td>
						<td class="buy_td_4">
							&nbsp;&nbsp;
							<span>￥${it.product.dangPrice}</span>
						</td>
						<td class="buy_td_1">
							&nbsp;&nbsp;${it.number}
						</td>
					</tr>
				</c:forEach>
				
				<tr class='td_no_bord'>
					<td colspan="6">
						总计:￥${session_cart.dangPrice}
					</td>
				</tr>
			</table>
			<br/>
			<br/>
			<br/>
			<div class="login_in">
				<input type="button" class="button_1" value="上一步" onclick="location='showCart.do'" />
				<input type="button" class="button_1" value="生成訂單" onclick="location='orderTwo.do'" />
			</div>
		</div>
		<%@include file="../common/foot1.jsp"%>
	</body>
</html>

